package com.yizhiliulianta.movie.domain.convert;

import com.yizhiliulianta.movie.domain.bo.MovieBO;
import com.yizhiliulianta.movie.infra.entity.TMovie;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MovieBOConverter {

    MovieBOConverter INSTANCE = Mappers.getMapper(MovieBOConverter.class);

    TMovie convertBoToMovie(MovieBO movieBO);

    MovieBO convertToMovieBO(TMovie movie);

}
